using UnityEngine;

public class Buttons : MonoBehaviour
{
    [SerializeField] private GameObject taskPrefab;
    [SerializeField] private GameObject diaryPrefab;
    [SerializeField] private Transform parentObject;

    //private bool canClick = true;
    public void OpenTaskList()
    {
        Instantiate(taskPrefab, parentObject);
    }

    public void OpenDiary()
    {
        Instantiate(diaryPrefab, parentObject);
    }



}
